CVE-2026-1998
micropython runtime.c mp_import_all memory corruption
Description
A flaw has been found in micropython up to 1.27.0. This vulnerability affects the function mp_import_all of the file py/runtime.c. This manipulation causes memory corruption. The attack needs to be launched locally. The exploit has been published and may be used. Patch name: 570744d06c5ba9dba59b4c3f432ca4f0abd396b6. It is suggested to install a patch to address this issue.
INFO
Published Date :
Feb. 6, 2026, 7:16 a.m.
Last Modified :
Feb. 17, 2026, 7:15 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 2.0 | LOW | [email protected] | ||||
| CVSS 3.1 | LOW | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update MicroPython to a version beyond 1.27.0.
- Apply the patch referenced by 570744d06c5ba9dba59b4c3f432ca4f0abd396b6.
- Ensure local access controls are strictly enforced.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-1998.
| URL | Resource |
|---|---|
| https://github.com/dpgeorge/micropython/commit/570744d06c5ba9dba59b4c3f432ca4f0abd396b6 | Patch |
| https://github.com/micropython/micropython/ | Product |
| https://github.com/micropython/micropython/issues/18639 | ExploitIssue Tracking |
| https://github.com/micropython/micropython/issues/18639#issue-3780651410 | ExploitIssue Tracking |
| https://github.com/micropython/micropython/pull/18671 | ExploitIssue Tracking |
| https://vuldb.com/?ctiid.344546 | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.344546 | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.743396 | ExploitThird Party AdvisoryVDB Entry |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-1998 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-1998
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-1998 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-1998 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 17, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-787 Added CPE Configuration OR *cpe:2.3:a:micropython:micropython:*:*:*:*:*:*:*:* versions up to (including) 1.27.0 Added Reference Type VulDB: https://github.com/dpgeorge/micropython/commit/570744d06c5ba9dba59b4c3f432ca4f0abd396b6 Types: Patch Added Reference Type VulDB: https://github.com/micropython/micropython/ Types: Product Added Reference Type VulDB: https://github.com/micropython/micropython/issues/18639 Types: Exploit, Issue Tracking Added Reference Type VulDB: https://github.com/micropython/micropython/issues/18639#issue-3780651410 Types: Exploit, Issue Tracking Added Reference Type VulDB: https://github.com/micropython/micropython/pull/18671 Types: Exploit, Issue Tracking Added Reference Type VulDB: https://vuldb.com/?ctiid.344546 Types: Permissions Required, VDB Entry Added Reference Type VulDB: https://vuldb.com/?id.344546 Types: Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/?submit.743396 Types: Exploit, Third Party Advisory, VDB Entry -
New CVE Received by [email protected]
Feb. 06, 2026
Action Type Old Value New Value Added Description A flaw has been found in micropython up to 1.27.0. This vulnerability affects the function mp_import_all of the file py/runtime.c. This manipulation causes memory corruption. The attack needs to be launched locally. The exploit has been published and may be used. Patch name: 570744d06c5ba9dba59b4c3f432ca4f0abd396b6. It is suggested to install a patch to address this issue. Added CVSS V4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L Added CVSS V2 (AV:L/AC:L/Au:S/C:N/I:N/A:P) Added CWE CWE-119 Added Reference https://github.com/dpgeorge/micropython/commit/570744d06c5ba9dba59b4c3f432ca4f0abd396b6 Added Reference https://github.com/micropython/micropython/ Added Reference https://github.com/micropython/micropython/issues/18639 Added Reference https://github.com/micropython/micropython/issues/18639#issue-3780651410 Added Reference https://github.com/micropython/micropython/pull/18671 Added Reference https://vuldb.com/?ctiid.344546 Added Reference https://vuldb.com/?id.344546 Added Reference https://vuldb.com/?submit.743396